package cc.geguo.smartcan.controller;

import cc.geguo.smartcan.pojo.Account;
import cc.geguo.smartcan.service.impl.AccountService;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 作者：13687
 * 日期：2017/5/20
 * 项目：ssm
 * 描述：账户登陆
 */
@Controller
@RequestMapping("/account")
public class AccountController extends BaseAction{

	@Resource
	private AccountService accountService;

	@RequestMapping("/login")
	public String login(Account account){
		System.out.println(account.toString());
//		accountService.login(account);
		return "main";
	}
}
